#ifndef RECBOXITEM_H
#define RECBOXITEM_H

#include <QWidget>
#include<QJsonArray>

namespace Ui {
class RecBoxItem;
}

class RecBoxItem : public QWidget
{
    Q_OBJECT

public:
    explicit RecBoxItem(QWidget *parent = nullptr);
    ~RecBoxItem();

    bool eventFilter(QObject* obj,QEvent* event) override;



    //设置图片名
    void setImage(QString& imagePath);
    void setText(QString& text);

private:
    Ui::RecBoxItem *ui;

};

#endif // RECBOXITEM_H
